home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / dissem / dissdemo.dir / 00216_Script_frame script for crossroads fragment < prev    next >
Text File  |  1999-04-25  |  711b  |  33 lines

  1. on enterframe
  2.   puppetsprite 11, true
  3.   
  4.   if rollover (6) then set the castnum of sprite 6 to 12
  5.   else 
  6.     set the castnum of sprite 6 to 7
  7.   end if
  8.   
  9.   if rollover (8) then set the castnum of sprite 8 to 14
  10.   else 
  11.     set the castnum of sprite 8 to 9
  12.   end if
  13.   
  14.   if rollover (9) then set the castnum of sprite 9 to 21
  15.   else 
  16.     set the castnum of sprite 9 to 19
  17.   end if
  18.   
  19.   if the castnum of sprite 11 <519 then
  20.     if rollover (11) then set the castnum of sprite 11 to the castnum of sprite 11 + 1
  21.   end if
  22.   
  23.   if the castnum of sprite 11 = 519 then 
  24.     puppetsprite 11, false
  25.     go to the frame -1
  26.   end if
  27.    
  28. end enterframe
  29.  
  30.  
  31. on exitFrame
  32.   go to the frame
  33. end